{
 "cells": [
  {
   "cell_type": "markdown",
   "source": [
    "3.1 Python中的数据类型"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "365c6baba87fdf21"
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "outputs": [],
   "source": [],
   "metadata": {
    "collapsed": false
   },
   "id": "a3bbdff285900da6"
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'int'>\n"
     ]
    }
   ],
   "source": [
    "x = 100\n",
    "print(type(x))"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "end_time": "2024-01-13T02:11:59.324475Z",
     "start_time": "2024-01-13T02:11:59.314150Z"
    }
   },
   "id": "b4d525436168113f"
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "<class 'float'>\n"
     ]
    }
   ],
   "source": [
    "y = 100.0\n",
    "print(type(y))"
   ],
   "metadata": {
    "collapsed": false,
    "ExecuteTime": {
     "start_time": "2024-01-13T02:11:08.143861Z"
    }
   },
   "id": "341f2de33e3a4fa3"
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "outputs": [],
   "source": [
    "num1 = 1\n",
    "num2 = 18\n",
    "sum = num1 + num2\n",
    "print(\"The sum is:\", sum)\n",
    "type(28)\n"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "3cf5c6e12de92ad2"
  },
  {
   "cell_type": "markdown",
   "source": [
    "3.2 Python中的变量"
   ],
   "metadata": {
    "collapsed": false
   },
   "id": "f324d3b7c908e268"
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "outputs": [],
   "source": [],
   "metadata": {
    "collapsed": false
   },
   "id": "cbd339be26e76467"
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
